This further alignes CMake and Autotools output on MinGW only.
See e.g. https://gitlab.kitware.com/search?search=CMAKE_SHARED_LIBRARY_NAME_WITH_VERSION&nav_source=navbar&project_id=541&group_id=415&search_code=true&repository_ref=master