XAU/USD posts modest gains above $3,150 on better risk appetite