Gold's climb for the session erases its weekly loss