Corrected return types

1. platformType method return type was DeviceHardwareGeneralPlatform however it returns values of DeviceHardwarePlatformType. 
2. generalPlatform return value for unknown platform was DeviceHardwareSpecificPlatform_Unknown however this should be DeviceHardwareGeneralPlatform_Unknown.

Both issues are corrected.