Gold rises on U.S. stimulus hopes; firm dollar weighs