Fix a typo I introduced.

I accidentally reversed the intended logic, introducing an error into the cleanup for RegalIff for most platforms.

Switch a not-equal comparison to an equality check.