This is required to a clang change. Attribute need to be in a certain order when building with a newer clang. This fix might be replaced by something better, e.g. https://github.com/apple/swift/pull/61476
../