Gold inches up in thin trade