[PATCH 5/5] d3d10: Use the global memory allocation helpers.