[yast/yast-core] 371a74: Fix building with GCC 13 and GCC 12.x