[extractor/common] Improve thumbnail extraction for HTML5 entries