[PATCH] d3d10: Use the ARRAY_SIZE() macro