apps/cmp.c: fix bug not allowing to reset -csr and -serial option values