ts-merge.c: Only unlink input files if --unlink was specified

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>