Fixed cache issue in $imagekeys

Sometimes the disk cache for images is deleted but the image is still present in $imagekeys, thus TCPDF looks all over the web for an inexisting image

Bug found in PrestaShop 1.6 when generating multiple invoices in a single PDF.