Resize ANTLRInputStream.data after reading a file with fewer chars than bytes