Gold clings to modest weekly gains, remains capped below $3,400