replace extension_exists() by function_exists() for mbstring

Alternative implementations exists for mbstring features,
this patch uses function_exists() instead of extension_exists() to check for "feature" instead of "implementation".
See https://packagist.org/packages/patchwork/utf8