Log why a suspend or resume program is invalid

We had a production outage today due to accidentally setting the suspend program to group writable. Having the reason the program was invalid displayed in the error message would have reduced the length of our downtime.

I am not sure if this is stylistically in tune with slurm, so if not please let me know and I'll update the patch.