[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 #184 from Unity-Technologies/unity-4.6-staging

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