Move UIKit detection into a separate file, deprecate REDeviceIsUIKit7