refine welsEncoderEncodeExt

refine welsEncoderEncodeExt:  simplify the function parameters and use exact type to replace void*

Review: 
https://rbcommons.com/s/OpenH264/r/129/