[PATCH] d3dx9: Use the ARRAY_SIZE() macro