Instead of using Chapel's writeln() to print the value returned by
getenv(), call C's printf() directly.  Chapel writeln() doesn't work for
printing c_string arguments on non-0 locales, because writeln() executes
on locale 0 and the pointer for a string on some other locale isn't
meaningful on locale 0 (and we don't deep-copy the string).
Merge pull request #365 from gbtitus/getenv-use-C-printf

Use C printf() instead of Chapel writeln() for the getenv test.

Instead of using Chapel's writeln() to print the value returned by
getenv(), call C's printf() directly.  Chapel writeln() doesn't work for
printing c_string arguments on non-0 locales, because writeln() executes
on locale 0 and the pointer for a string on some other locale isn't
meaningful on locale 0 (and we don't deep-copy the string).

Not reviewed.