move declaration of interfaces between malloc and ldso to dynlink.h