Girl rescued from quicksand on the Solway Firth