Add check for struct dl_phdr_info.dlpi_subs and if it exists, use
it to detect when a shared object was unloaded.

BKrev: 4012147eAfnUqCaNTz0hOuDKmgrsRw