MythMusic: fix file scan sql errors

A missing query.next() was causing the songid lookup query to fail.
Fixes #11847.

(cherry picked from commit af88052c4bd6e15330520b31c8f72d7b0428939e)