check_memory: only load kernel.frees_argument when checking the kernel