Gold inches up as physical demand offsets stronger dollar