Gold extends gains as dollar, Asian stocks weaken