ticket:10113: Update dtptngsample.cpp to work properly on Linux.

git-svn-id: http://source.icu-project.org/repos/icu/icu/branches/bing@33785 251d0590-4201-4cf1-90de-194747b24ca1