Fixed bug in BufferedReader::canReadUntil.