PM markets: grain prices trim gains as funds take a breather