bts/tbf: Move the lists into the BTS and do the look-up from the BTS

The list belongs to the BTS. This makes cleaning this up more easy
and establishes a hierachy of resources that start from the BTS. The
debug_diagram code is now broken.
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp
index 87cb846..a8fd5ec 100644
--- a/src/gprs_rlcmac.cpp
+++ b/src/gprs_rlcmac.cpp
@@ -36,15 +36,13 @@
 	{ 54,		53,		50 }, /* CS-4 */
 };
 
-LLIST_HEAD(gprs_rlcmac_ul_tbfs);
-LLIST_HEAD(gprs_rlcmac_dl_tbfs);
 extern void *tall_pcu_ctx;
 
 #ifdef DEBUG_DIAGRAM
 struct timeval diagram_time = {0,0};
 struct timeval diagram_last_tv = {0,0};
 
-void debug_diagram(int diag, const char *format, ...)
+void debug_diagram(BTS *bts, int diag, const char *format, ...)
 {
 	va_list ap;
 	char debug[128];
@@ -60,14 +58,14 @@
 	va_end(ap);
 
 	memset(tbf_a, 0, sizeof(tbf_a));
-	llist_for_each_entry(tbf, &gprs_rlcmac_ul_tbfs, list) {
+	llist_for_each_entry(tbf, &bts->bts_data()->ul_tbfs, list) {
 		if (tbf->diag < 16) {
 			if (tbf->diag > max_diag)
 				max_diag = tbf->diag;
 			tbf_a[tbf->diag] = tbf;
 		}
 	}
-	llist_for_each_entry(tbf, &gprs_rlcmac_dl_tbfs, list) {
+	llist_for_each_entry(tbf, &bts->bts_data()->dl_tbfs, list) {
 		if (tbf->diag < 16) {
 			if (tbf->diag > max_diag)
 				max_diag = tbf->diag;