Fix warnings with gcc and MSVC

Review at https://rbcommons.com/s/OpenH264/r/895/.