mplayer: fix compilation with osd menu

Fixes: #26076