cmake: segregate the getopt files into their own compat/ folder
more general on ipfilter macro FILTER_H8_W8
reference: initialize weight buffer pointer