Pass array<> to iff_read_animbrush
Fix memory leak writing hoard data