Explicitly cast int64_t to float

This fixes warnings when bulding with MSVC.

Review at https://rbcommons.com/s/OpenH264/r/938/.