[ticket/12949] Check if mime_content_type is actually callable

PHPBB3-12949