Generate SI2ter Rest Octets

Previously we simply omitted SI2ter Rest Octets which is spec violation
which lead to 'Malformed Packet' error in Wireshark RSL dissector. Fix
this by generating empty 'no rest octets' with proper padding. Adjust
test output accordingly.

Change-Id: Ie4419aaaf93a462f501f8d8f7bf2677d37c58f94
Fixes: OS#2711
diff --git a/src/libbsc/system_information.c b/src/libbsc/system_information.c
index c1b0d49..4575454 100644
--- a/src/libbsc/system_information.c
+++ b/src/libbsc/system_information.c
@@ -764,7 +764,10 @@
 	if (!n)
 		bts->si_valid &= ~(1 << SYSINFO_TYPE_2ter);
 
-	return sizeof(*si2t);
+	/* SI2ter Rest Octets as per 3GPP TS 44.018 §10.5.2.33a */
+	rc = rest_octets_si2ter(si2t->rest_octets);
+
+	return sizeof(*si2t) + rc;
 }
 
 /* SI2quater messages are optional - we only generate them when neighbor UARFCNs or EARFCNs are configured */