gold struggles as dollar firms ahead of us jobs data