Fix DeviceVariation API incompatibility.

DeviceVariation's enum names are part of the exposed API (capabilities
are based on these names), so preserve the previous enum names and
normalize them to the new names.