Fixed #23801 - Added warning when max_length is used with IntegerField

just a starting idea
:+1:  I was also thinking of one edge case where a `max_length=0` could be passed to the field, I think check for `None` here is better