Pass actual flags into FLAG_CATEGORY
Pass actual flags into FLAG_CATEGORY

This
(a) makes the MS writing 3x faster, by eliminating a (for some reason
very slow) conversion from np.uint8 to bool.
(b) makes it more correct, because it preserves the invariant that FLAG
should be the combination of the individual bits in FLAG_CATEGORY.

ska-sa/katdal