patch 8.2.3728: internal error when passing range() to list2blob()

Problem:    Internal error when passing range() to list2blob().
Solution:   Materialize the list first. (closes #9262)
diff --git a/src/blob.c b/src/blob.c
index 04319f8..2833c1a 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -526,6 +526,7 @@
     if (l == NULL)
 	return;
 
+    CHECK_LIST_MATERIALIZE(l);
     FOR_ALL_LIST_ITEMS(l, li)
     {
 	int		error;