chore(mbstring): remove PHP 5.6 notices due to deprecated ini setting

In PHP 5.6 the ini setting mbstring.internal_encoding was deprecated. Solution
is to only set it if a value already exists.

Fixes #7244