Don't check for strict/warnings if a shebang is OK and the shebang isn't perl

This prevents bogus strict/warnings tests on bash scripts, for instance.

The only file this change affects at the moment is
devel/tools/rt-parse-mail-log.