p4c: fix `gcc-13` build failure
Without the change build fails on `master` as
https://hydra.nixos.org/build/247605854:
In file included from /build/source/lib/hex.cpp:17:
/build/source/lib/hex.h:25:5: error: 'intmax_t' does not name a type; did you mean 'int8_t'?
25 | intmax_t val;
| ^~~~~~~~
| int8_t