ZAR extends losses against the US dollar