Fix double call to dt_image_cache_read_testget