Include stddef.h before gmp.h

This is required for clang because stddef.h is subtly different depending on whether
compiling in C or C++ mode.