Avoid some code that will be deprecated in GWT 2.6.0 and make gwt:run work

git-svn-id: http://zxing.googlecode.com/svn/trunk@2923 59b500cc-1b3d-0410-9834-0bbf25fbcc57