[retroplayer] Fix compile errors and warnings on linux