[PATCH 5.17 725/772] nodemask.h: fix compilation error with GCC12