Update LineNumberTable.java

Check that index + 1 is valid index. Threw exception in wrong formatted file that ended on a '\r'.