Add ~amd64 keyword to curses-check-for-keypress, and update to git-2 and EAPI 4.