gold futures trim gains after jobless data