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 bug #66219 due the BC break introduced in the previous change.