Fix compilation with Clang 16
With Clang 16, the enum has a size of two bytes and QAccessible::UserRole is the largest possible value. This means that UserRole + 1 is too large, causing compilation to fail. See QTBUG 117517
(cherry picked from commit aa995b65)