[ticket/11148] Always use the output of the mimetype guesser in get_mimetype

PHPBB3-11148