gold extends losses to third day as oil slumps