MythMusic: fix file scan sql errors

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