oil lower, gold holds to gains after 3-month high