A British Airways pilot was taken off a plane on suspicion of being drunk, officials said, before the aircraft took off from London's Gatwick Airport.