core: fix compilation warning on GNU/Hurd about unsigned long numbers