Implement a DimsImageMagickThreadLimit directive

Should be the same as doing MAGICK_THREAD_LIMIT, but
done at module initialisation time rather than at request time.