libupm: Workaround for errors with GCC13