gdal_compute_version function

Compute a GDAL integer version number from major, minor, revision