Gold ekes out a gain as traders await cues from Fed, BOJ