[PATCH 7/9] dmusic: Allocate and parse instruments in a single pass.