Treat IPv4 and IPv6 the same when dumping the schema for Postgresql

ffeb7ddcf from #8010 doesn't include the "/32" when dumping inet/IPAddr IPv4 values, but still includes "/128" on IPv6 values. This patch changes that behavior, and also changes a comparison to use constants.. though IPAddr::IN4MASK is probably just about as meaningful as 2**32-1