[block-freq] Add the APInt method extractBit.
[block-freq] Add the method APInt::nearestLogBase2().