Gold prices notch 5th straight gain, buoyed by a slump in risky assets