Qt: raise window when video Widget is shown
text_renderer: avoid 0xff << 24 with an int type
AVcodec: use avctx width for subtitles when set

Instead of hardcoding it depending on the codec

Tested with PGS and XSub