Prior to this commit, a Spring web application would not be able to serialize a `ProblemDetail` object instance in a Native Image, as serialization hints would be missing. This commit adds a RuntimeHints registrar that processes the `ProblemDetail` type accordingly during the AOT phase. Fixes gh-29801