[#1875] Correctly check the readerIndex when try to read a byte from AbstractByteBuf
Merge remote-tracking branch: upstream/master