Renamed method macros with err results to facilitate merging gdal_common.hpp and ogr_common.hpp