[ALSA] Fix use after free in opl3_seq and opl3_oss