`natdynlink`: `dlclose` on error (#14391)
* Add test
* natdynlink: dlclose on error
* Promote test
* Only dlclose if unit has not initialized, fix test
* Accept
* Call ndl_register after CRC check
* Accept
* Simplify
* Accept
* Changes
* Fix test script
* Fix test script
* Accept
* Disable test on Windows
authored by