x264enc: Fix setting latency
x264enc: Fix setting latency

Fixes setting latency when framerate is dynamic and round up the latency
to avoid rounding issues.

knuesel/gst-plugins-ugly,knuesel/gst-plugins-ugly,knuesel/gst-plugins-ugly