get_num_cpus function

Get the number of processors detected by GDAL