Gold prices rose to all-time highs Thursday, sparked by safe-haven demand, a weaker U.S. dollar and lower Treasury yields.