gb: suspend_ref was changed to a plain uint8_t, update the code

Require a 0.5.2+ libosmogb due the change of the suspend_ref type.
diff --git a/openbsc/configure.ac b/openbsc/configure.ac
index 3f2d4d4..8284b88 100644
--- a/openbsc/configure.ac
+++ b/openbsc/configure.ac
@@ -45,7 +45,7 @@
 PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
 PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.0)
 PKG_CHECK_MODULES(LIBOSMOABIS, libosmoabis >= 0.1.0)
-PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.5.1)
+PKG_CHECK_MODULES(LIBOSMOGB, libosmogb >= 0.5.2)
 
 found_libgtp=yes
 PKG_CHECK_MODULES(LIBGTP, libgtp, , found_libgtp=no)
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c
index d1df094..7d80dc8 100644
--- a/openbsc/src/gprs/sgsn_main.c
+++ b/openbsc/src/gprs/sgsn_main.c
@@ -119,7 +119,7 @@
 			return gprs_gmm_rx_suspend(bp->ra_id, bp->tlli);
 		case PRIM_BSSGP_GMM_RESUME:
 			return gprs_gmm_rx_resume(bp->ra_id, bp->tlli,
-						  *bp->u.resume.suspend_ref);
+						  bp->u.resume.suspend_ref);
 		}
 		break;
 	case SAP_BSSGP_NM: