Rand weakens against dollar surge