[Encoder] Fix a warning and refactor

    1, fix a value in preprocess to avoid warning in UT
    2, refactor to wrap the operation to m_pSpatialPic into WelsPreprocess

being reviewed at: https://rbcommons.com/s/OpenH264/r/834/