babel-loader: Avoid calling expensive `isReactCompilerRequired` check when we must run Babel anyways (#84103)
This check uses SWC, so it's expensive.
This can be worth it if it lets us avoid running Babel entirely, but if you've got a custom babel config, we're forced to run Babel anyways, so it's probably not worth it in that case.