llvmpipe: rework do_block_16 to use bitmasks and ffs