Fixes #4497: Bad Request, Unable to verify your data submission

Fixed `StringHelper::byteSubstr()` returning empty string on null `$length` param
Yeah https://github.com/yiisoft/yii2/commit/cde71f4318f76f0c923225c1bcb4a333dae1acf8