Simplified bitmask utility functions
* they were relocated into a separate compilation unit by 79a65ce
** but I want them to be inlined which is hindered by exactly that
** i.e. the implementations are now moved to the utility header file and marked as inline
* removed unnecessary declaration of arguments as reference