Qt: fix compilation with Qt5
omxil: add conversion functions from OMX H264 profile/levels to profile_idc/level_idc

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
mediacodec: check if the codec can handle the H264 profile of the input format

The level is ignored for now since some encoders are not computing the
level and instead set it to the maximum possible value.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>