fix incorrect music ptr free when SW's debug scaffolding is enabled