Gold eases off three-week high as dollar steadies