Limit how much work sanitize() can do Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=6022