Gold holds loss as dollar strengthens