Spain's maritime rescue service says it has rescued 54 migrants, including one pregnant woman, from a small boat trying to cross the Strait of Gibraltar.