Bug 866611 - Fix length check when inlining string concatenation. r=h4writer