Disable srun --pty option unless LaunchType=launch/slurm.

Fix for bug 258