[HttpFoundation] Check if required shell functions are not disabled in FileBinaryMimeTypeGuesser

On many shared hosts shell related functions are disabled for security reason, checking it first will prevent issuing a warning