Fix error message on setting cert validity period in apps/cmp.c