Fix graphme_substr for PHP >= 5.4.18 or >=5.5.1

Due the changes introduced in the intl extension for fix #62759 now the third argument returns an empty string if is null or 0

Open issue #66219 due the new bug introduced in the previous change.


This fix the issue when `$length` argument is null but not when is `0`