avutil/opt: Check av_parse_video_rate()s return value

Fixes CID1257008

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>