xrt: adds helper macro for C11 struct compound literals
if you have C functions/exprs which use
C11 style designated-initializers for struct compound
literals and this code is using C++ this causes
warning messages (even with C++20),
the new macro helps when these are included in either C or C++
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2555>