Currently when checking if resilience check can be bypassed within a package,
we only check if the loaded module is built from a package interface. This is
not enough as a binary module could only contain exportable decls if built with
experimental-skip-non-exportable-decls, essentially resulting in content equivalent
to an interface content.
This PR adds a check for such case before enabling optimization.
Since it affects module format, SWIFTMODULE_VERSION_MINOR is updated.
rdar://123651270