fix error reporting for dlsym with global symbols
[musl] / crt / crtn.c