zstd: Check errors right affer compressing/decompressing
Considering a compression bomb before looking for errors led to false negative log warnings. Instead, it is possible the work failed for whatever reasons which is not indicative of a compression bomb.
Fixes #40739
Signed-off-by: David Goulet dgoulet@torproject.org