Examples, postscript: fix opening default .ps viewer under windows plus cleanup, from ocean, issue 27135

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47113 4005530d-fff6-0310-9dd1-cebe43e6787f