drm: Use ARRAY_SIZE macro when appropriate