#61640Prevent warnings when no icon is found in FormEngine
Description
With patch https://review.typo3.org/#/c/32616/2 a check with file_exists was introduced. This check returns true for files AND folders which means that warnings occur if an image path is a folder. We should use the is_file() check to prevent unnecessary image functions.