core: use flags with '&' instead (BITMAP_GET_BIT, BITMAP_SET_BIT, BITMAP_DEFINE_BIT)

Link: https://github.com/GeneAssembly/biosal/issues/727
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>