Mupen: fix an issue with thread stubs