[PATCH] dinput: Use the ARRAY_SIZE() macro