[PATCH 5.18 831/879] nodemask.h: fix compilation error with GCC12