(_dl_close): Don't close an object if it is marked with nodelete.