Bug 228797
Apply change to ztest.c from openzfs repo from[1]
This allows ztest to run through a default 5 min run without fail on FreeBSD 12.0-rc2.
ztest artifacts in /tmp (default location) should be removed between comparing patched & unpatched version for validation.
[1] 5408 managing ZFS cache devices requires lots of RAM
https://github.com/openzfs/openzfs/commit/89c86e32293a30cdd7af530c38b2073fee01411c