MythMusic: fix a possible crash after scanning for music

MusicMetadata::getSongAt() can return NULL so guard against that.
Fixes #12200. Thanks to JYA for finding the problem.