push_error_handler function

Push a new GDAL CPLError handler