fstests: add _require_sysctl_variable helper