Work around netty offheap capacity check bug

patch by tjake; reviewed by Mikhail Stepura for CASSANDRA-7196
Merge branch 'cassandra-2.1' into trunk