mtp: Stop hardcoding the supported SSN inside the mtp_layer3.c

Stop hardcoding the supported ssn's inside the mtp_layer3.c and
make it possible to allow to configure this in the future.
diff --git a/src/mtp_layer3.c b/src/mtp_layer3.c
index aeb1866..83c8d63 100644
--- a/src/mtp_layer3.c
+++ b/src/mtp_layer3.c
@@ -402,8 +402,7 @@
 			LOGP(DINP, LOGL_ERROR, "Unknown APOC: %u/%u\n",
 			     ntohs(prt->apoc), prt->apoc);
 			type = SCCP_SSP;
-		} else if (prt->assn != 1 && prt->assn != 254 &&
-			   prt->assn != 7 && prt->assn != 8 && prt->assn != 146) {
+		} else if (!link->supported_ssn[prt->assn]) {
 			LOGP(DINP, LOGL_ERROR, "Unknown affected SSN assn: %u\n",
 			     prt->assn);
 			type = SCCP_SSP;