Wrong index was used resulting in intermittent register allocation conflicts.
Fixes: https://github.com/mpv-player/mpv/issues/11561