[PATCH 5.2 078/413] ipset: Fix memory accounting for hash types on resize