Gold up on bargain hunting, dollar pares gains