The yen and gold gained ground after Trump threatened a government shutdown if a border wall with Mexico isn't funded.