intra: remove unused extern
vec: prevent unreferenced parameter warnings for 16bpp builds
ipfilter: don't use 8bpp primitives for 16bpp builds