Dollar hits yearly high as gold declines