[ENOMEM] Fix buffer's content check logic So now rest of shape fuzzer also can be enabled. Fixes #2571