Fix a bug that caused crashes with BLOBs and CLOBs in RETRUNING clauses.
This bug was introduced in commit 996288e7.