Gold holds on to firm loss after jobless-claims report