check only the major version number of GMP in __init__()

Only the major version number of GMP determines the compile time
path (in type `RangeGeneratorBigInt`), so no need to check that
the full version number correpdonds at run time.

Cf. https://github.com/JuliaLang/METADATA.jl/issues/1840.