GIRAPH-821: proper handling of NegativeArraySizeException for all ByteArray backed messagestores (pavanka via majakabiljo)