Windows build fix of 'All image cleanup related change'

Previous failed builds:

8789217 fdo#86573: Impress does not show pictures anymore
f9c52dd Skip time based auto swap out for perf test
f199ea6 Skip size based auto swap out for perf test
17281e8 All image cleanup related change in one commit for perf test

Change-Id: I9d3dd169e979df38c9784888a4f1195f790f30db