Gold hits 3-week low as equities rally