I have been dealing with this type of migration for +5 years, and the best practice to be able to reinstall a wsp from an earlier version of SharePoint to a newer version is you have a SharePoint 2016 Development Farm, following this steps:
(1) restore the Databases (WSS_Contents) from the 2010 version to the SharePoint 2016 Database;
(2) open the Projects through Visual Studio, updating the Build version of the .NET Framework;
(3) recompiling and deploy the WSPs pointing to this the new address of this Farm (in SharePoint 2016).
With this practice, it is possible to update several resources, mainly bindings of DLLs belonging to the SharePoint platform from version 2010 to version 2016.