[#1454] Fix IndexOutOfBoundsException which was thrown if last component of a CompositeByteBuf was removed