XWIKI-11081: Cannot change the logo on Flamingo Themes.

* Also fix the fact that the current logo was not selected in the logo input field.

(cherry picked from commit f1c310caf219fc758e904ca122e817ea96c4d060)