utf8_substr fix

Should fix upgrade issues caused by PHP considering int 0 equal to null
Merge pull request #1360 from opencarthelp/master

utf8_substr fix