Fix #23801 - Warn when max_length is used with IntegerField

just a starting idea
Correct, warnings and errors are collected together.