DERBY-6504; change AllocPage.ReadContainerInfo to catch ArrayIndexOutOfBoundsException and turn it into Derby error.
   backport of revision 1600417 and revision 1600721 from trunk


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.10@1600794 13f79535-47bb-0310-9956-ffa450edef68