Improve handling of coresize for jobs. #4155

Use RLIM_INIFINITY when we want an unlimited coresize for a job.
On Darwin and Solaris, RLIM_INFINITY isn't (unsigned long)-1, so be more
careful with negatives values for CoreSize in the job ad. Also,
handle CoreSize values larger than 32 bits.