cache: have full buffers according to potentially exporting  threads
cache: garbage collection now with single big fat lock.

concurrent deletion probably makes next to no sense anyways.
develop: don't call any gui things in dt_dev_load_image

it's called by thumbnail creation and 'z' and export etc.