[retroplayer] read texture size from av_info
[retroplayer] fix crash when using non gl cores