Gold ends higher, then wavers in electronic trade after FOMC decision