Update CMRI.cpp

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