Hurricane Hanna weakened to a tropical storm after making landfall in southern Texas, but officials warned about ongoing flash flooding.