Move BAM flag field bit constants to separate module.