Rct upgrade activity bit 62 x

This changes the legacy RCT code such that (1) the output given the legacy LUT is unchanged, and (2) the activity bit is calculated based on the upgrade algorithm when an upgrade LUT is used.