Fixed over-allocation and removed redundant zeroing in ByteBuffer

The change to the argument of 'sizeof' should be self-explanatory. The call to 'bzero' was removed as 'calloc' guarantees zeroed memory to begin with.