Remove unnecessary @mut from LineboxScanner
Convert LayoutContext.image_cache from @mut to MutexArc

LocalImageCache isn't Freeze so we have to use unsafe_access,
which exists for MutexArc and not RWArc.
Merge pull request #1344 from kmcallister/layout-boxes

Remove @mut from LineboxScanner and image caching