If a custom folder icon is too small (128 or 256 px, depends on Browse
Mode zoom level) the preview is created but immediately repainted with
the base icon. This is caused by KIO::PreviewJob returning only
down- but not upscaled icons.
This patch scales the preview thumbnail to the requested size if it's
too small, analogous to KIconLoader::loadIcon() which loads the
base icon.
CCBUG: 315983
FIXED-IN: 18.04.1
Depends on D12465