[PATCH] dxdiagn: Use the ARRAY_SIZE() macro