Gold futures edge up after two-session decline