Gold prices inch up as trade row triggers safe-haven buying