refine frame_idx maitain in encoding

it does not make sense to maintain iFrameIdx and uiFrameIdxRc both.   only one is enough.  

Review: 
https://rbcommons.com/s/OpenH264/r/137