Bug 872219: B2G SMS - check number of segments in getSegmentInfoForText(). r=gene