`PathMatchingResourcePatternResolver` is reflecting on `org.eclipse.core.runtime.FileLocator` and invoking methods on it for OSGi support. While this use case is highly unlikely in native images, registering the reflection entry by itself should be enough. Fixes gh-31271