Update CMRI.cpp

Updating "get_bit" function:
When returning bit positions (pos) >= 8, the values in "c" would be bit-shifted off the end of the byte.