[ticket/12673] IMAGETYPE_SWC might be missing when SWC is not supported.

https://tracker.phpbb.com/browse/PHPBB3-12673