Gold prices inch down as dollar recovers from three-week low