[PATCH v2 1/1] wined3d: Use CRT allocation functions.