#88879ContentObjectRenderer->imageLinkWrap could fail if ResourceFactory returns NULL instead of File
Description
This line https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L1319 could fail, if the ResourceFactory returned NULL earlier in execution at https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L1290
It should probably be hardened, so this possibility of a NULL value is respected instead of the code breaking.