toolchain: gmp: Fix for compile with gcc-15
Configure fails for a function declared as g() taking arguments. Seems
like gcc-15 became more strict wrt. function declaration.
Workaround found here: https://bugs.gentoo.org/943710
Signed-off-by: Phil Sutter <phil@nwl.cc>