[ticket/12949] Check if mime_content_type is actually callable

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