ipfilter: Fix for 16bpp build