Gold eases as dollar remains firm; eyes first weekly gain in four