Optimize CompareICStub and StringAddStub in scanStringLiteral