refine encode plus code

since the interface only support 1 spatial picture input and remove encodeFrame2 at interface,  the encodeFrame2 function can be refined. 

WelsEncoderEncodeExt also can be refine at next step.  

Review: 
https://rbcommons.com/s/OpenH264/r/126/