Your approach is a bit "off the map", but interesting.
The most straightforward approach seems, to me at least, to change the "navX Open.vi" and replace the I2C (and likely the SPI) open VI from labview with the one that's appropriate for the MyRio.
If the device reference is different for the myrio, my hunch is that you'll need to update the "navX Device TypeDef" control, replacing the roborio dev ref w/th myrio dev ref instead. And then you'll need to apply changes so that all the VIs in the library that use the RoboRio dev ref get updated. I"d hope there won't be any additional errors than..
Finally, you'll likely need to add an interface selector, to indicate which of the MXP connectors you are working with.
Please post the results of your work if you can, and update the group on progress, you'll be the first I'm aware of to try.
All the best,
- scott