MYFACES-3243 Improve warnings in HtmlImageRendererBase (thanks to Martin Koci for provide this patch)