move iTotalNumMbRec from refpic to ctx

move the variable to proper structure.
review request can be seen via:
https://rbcommons.com/s/OpenH264/r/149/