Fix slurmstepd core dump.