Previously, the fields that back JavaBean properties were not
registered for reflection. In a native image, this meant that the
binding process did not find any annotations such as `@DataSizeUnit`
and `@DurationUnit` so any custom default unit was ignored.
Fixes gh-45343