macro_rules! encode_b_imm { ($n:expr) => { ... }; }
Encode and integer as a bitmask for a B-type immediate.