COMPRESS-147 be extra defensive against overflows - can actually not happen with the current snappy compressors where offset will always be <= 32768

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/compress/trunk@1548804 13f79535-47bb-0310-9956-ffa450edef68