Fix regression introduced by 0364265f4692b2f2f28ab36037c4ab6f3c242eae which could lead to corrupt attribute values
[#1454] Fix IndexOutOfBoundsException which was thrown if last component of a CompositeByteBuf was removed