Fix legacy OMX encoders

Ensure that a valid frame_rate is passed to the encoder, otherwise
encoding will fail.

Change-Id: Iaaa298496755ff405e393120973d1ed782f5d8f4