If it were as you say, the message would be Invalid cast: Curve » GH_Curve.
It seems to be a versioning problem. The input curve is using one version of Rhinocommon and the GH_Curve type needs another version of Rhinocommon. Check that you are referencing the correct version in your plugin and try with a new curve.
Thanks, upgrading to 7.10.21256.17000 fixed the issue. My Rhino had the newest update, but I wanted the plugin to stay below 7.5, which requires .NET 4.8 as opposed to 4.5 required by earlier versions.
Anyway, it seems, that it is a breaking change after all - plugins targeting Rhinocommon 6.* work without issues, while 7.0-7.4 break here.