GDALClose(): accept NULL pointers