[Form] Deprecated max_length and pattern options

See https://github.com/symfony/symfony/pull/10001

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | master
| Fixed tickets | -