[corlib] Fix issue with setting Console.InputEncoding/OutputEncoding thr...

...

Added UNITY to #if to match the #if used to guard Console.Input/OutputEncoding properties.