[corlib] Fix issue with setting Console.InputEncoding/OutputEncoding throwing an exception on Unity .NET profile.

Added UNITY to #if to match the #if used to guard Console.Input/OutputEncoding properties.
Merge pull request #183 from Unity-Technologies/unity-staging

[corlib] Fix issue with setting Console.InputEncoding/OutputEncoding throwing an exception on Unity .NET profile.