gforth: fix 64-bit builds

Closes #16836.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>