smsutil: Get rid of ref_offset in sms_text_prepare