Gerrit: explicitly whitelist image formats we want to display

Some like svg might be dangerous :)

Bug: 70892
Change-Id: I1fa29e6e1419913f75f57acae55f912c70d42783
Merge "Gerrit: explicitly whitelist image formats we want to display" into production