Handle AV_CODEC_ID_SUBRIP only when it is defined.

Not all FFmpeg versions have AV_CODEC_ID_SUBRIP,
but when it is present it works like AV_CODEC_ID_TEXT.

Being able to compile XBMC with older FFmpeg versions would help tracking down regressions.