DMRECON: share image pyramids between threads

Threads reconstructing views from the same scene simultaneously can
share some of their image pyramids when they both use the same
neighboring view. Store them in a global cache.