Only take restart_marker_mutex while accessing restart markers
Only take restart_marker_mutex while accessing restart markers

rather than holding it throughout paint_region().  This was serializing
multi-threaded JPEG accesses.  Closes #88.

openslide/openslide,openslide/openslide,openslide/openslide,openslide/openslide