Fix mp_limb_t/ulong discrepancies in var/func decls.

These are needed to compile on MinGW64.