Fix bug #22745: choose_track function crashes the game in certain cases

This concerns https://gna.org/bugs/index.php?22745

In certain cases, in the function "choose_track" (sound.cpp" member "current_track_index" can be greater than
"current_track_list.size()" thus causing an "index out of range" error.

For more details see the bug report linked above.