remain size to prevent MB residual reading overflow

It is for MB level residual bit reading check, via pre-allocating enough memory to prevent overflow.
Detailed review request can be seen via:
https://rbcommons.com/s/OpenH264/r/92/