[PATCH v2 5/5] quartz/vmr9: Allocate the surface array in allocate_surfaces().