[Validator] deprecate member metadata accessors

| Q             | A
| ------------- | ---
| Bug fix?      | sort of
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/11614/files#r16385109
| License       | MIT
| Doc PR        | 

deprecate member metadata accessors in favor of existing property metadata accessors
@webmozart should ``getConstraints`` be part of the MetadataInterface rather than being only in GenericMetadata ? Otherwise, we are technically forbidding to use any other implementation than GenericMetadata in 2.5+