Gold firms on dollar slide, U.S. stimulus hopes