This patch ensures that we fail gracefully when running out of memory when
allocating a buffer for decompression.
This provides a work-around for: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3224
I've spend some time looking at a better solution but this is the best I could come up with. I'd be very excited if anyone has a better idea!