MDL-61215 core_badges: use the new optimised_image filetype group