Thousands of airline passengers were delayed after Gatwick airport’s south terminal was evacuated because of a security alert.