[PATCH] dinput: Avoid ARRAY_SIZE-like macros