Add slurm_time_to_seconds utility function