Harden SMRPG_GetUpgradeInfo against UpgradeInfo changes

If there are going to be new elements added to the UpgradeInfo enum in
the future, don't break old plugins.