Gold gains in Asia as Greece heads into weekend bailout referendum