Fix #17751: Added stripping of whitespace for IPAddressField/GenericIPAddressField