And unify format in several places.
If we have no dlvsym(), just run dlsym() test.
Due to nature of recent change in GCC10 that silently broken symbol versioning, let's be a bit pedantic and test all symbols are available in all versions that meant to be exported to users.