Split unpackDimensions out from HocrReader.scala to OcroReader.scala and TessReader.scala.