[PATCH v2 3/4] d3dcompiler: Introduce an array_reserve() helper.