examples/l2fwd-cat: fix NUMA check of port and core