Don't implicitly convert int to bool

This avoids warnings with MSVC.

Review at https://rbcommons.com/s/OpenH264/r/960/.