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