Gold prices settle higher for a third session in a row