[PATCH 07/19] whatmask: Fix build with GCC 14