Gold holds modest gain after jobless claims, trade deficit