Gold extends rally to new all-time high amid global risk-off mood