artifact.c: fix compilation with PARANOID