Gold prices edge up but set for weekly drop as US inflation data weighs