The pungent smell of the rotten durian fruit at an Australian university library has been mistaken for a gas leak, prompting an evacuation of the building.