bitcalc: Added pure attribute to two functions in bitmap.h

This is to avoid a compiler warning that at least one of the functions can be
pure.

Also disabled -fsanitize=address for the unit test, since this broke Yocto
build.

Signed-off-by: Mats Liljegren <mats.liljegren@enea.com>