move RemapBitReader() from idec.c to bit_reader code

mostly for coherency and later patch.

Change-Id: Ica8352d67845b6c5b3153435edfb4646c6f24341