gpgscm: Mark cells requiring finalization.
* tests/gpgscm/scheme.c (T_FINALIZE): New macro. (mk_port): Use the new macro. (mk_foreign_object): Likewise. (mk_counted_string): Likewise. (mk_empty_string): Likewise. (gc): Only call 'finalize_cell' for cells with the new flag.
This speeds up the sweep phase of the garbage collector considerably
because most cells do not require finalization.
- Signed-off-by: Justus Winter <justus@g10code.com>