Added workarounds to tests for JDK 6 LineBreakMeasurer bug and handle it

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1644806 13f79535-47bb-0310-9956-ffa450edef68