fix bug in dladdr that prevented resolving addresses in the PLT