[bsc_hack] Make sure that the newly defined structs match the current packets

For System Information Type 5 and System Information Type 6 the L2 pseudo
length is not transmitted. This is why we substract the struct size with -1.
diff --git a/src/bsc_hack.c b/src/bsc_hack.c
index 6885d0e..f673fd1 100644
--- a/src/bsc_hack.c
+++ b/src/bsc_hack.c
@@ -524,6 +524,13 @@
 	},
 };
 
+static_assert(sizeof(si1) == sizeof(struct gsm48_system_information_type_1), type1)
+static_assert(sizeof(si2) == sizeof(struct gsm48_system_information_type_2), type2)
+static_assert(sizeof(si3) == sizeof(struct gsm48_system_information_type_3), type3)
+static_assert(sizeof(si4) >= sizeof(struct gsm48_system_information_type_4), type4)
+static_assert(sizeof(si5) == sizeof(struct gsm48_system_information_type_5)-1, type5)
+static_assert(sizeof(si6) >= sizeof(struct gsm48_system_information_type_6)-1, type6)
+
 /* set all system information types */
 static int set_system_infos(struct gsm_bts *bts)
 {