fix bug in dladdr that prevented resolving addresses in the PLT
fix warning building dynlink.c stub for static libc

struct dso was not defined in this case, and it's not needed in the
code that was using it anyway; void pointers work just as well.