asn1helpers.c: Fix asn1bitstr_to_u32 function

The value in buf is kept in host byte order so no need to swap it
around.
diff --git a/src/asn1helpers.c b/src/asn1helpers.c
index 3225223..2a1b187 100644
--- a/src/asn1helpers.c
+++ b/src/asn1helpers.c
@@ -67,13 +67,11 @@
 uint32_t asn1bitstr_to_u32(const BIT_STRING_t *in)
 {
 	uint32_t ret = 0;
-	int i;
 
-	for (i = 0; i < 4; i++) {
-		if (in->size < i)
-			break;
-		ret <<= 8;
-		ret |= in->buf[i];
-	}
+	if (in->size < 4)
+		return 0;
+
+	ret = *(uint32_t *)in->buf;
+
 	return ret;
 }