Fix BytesStreamInput(BytesReference) ctor with nonzero offset

I renamed 'count' to 'end', since thats what it actually means for this class.

ctor #1 was broken, only worked if offset is zero.
ctor #2 had unnecessary leniency.