gpg: Fix expiration time when Creation-Date is specified.
* g10/keygen.c (parse_expire_string_with_ct): New function, optionally supply the creation time. (parse_expire_string): Use parse_expire_string_with_ct with no creation time. (proc_parameter_file): Use parse_expire_string_with_ct possibly with the creation time.
Cherry-pick from master commit of:
b07b5144ff6a9208ea27fe1e1518270bd22b382c
- GnuPG-bug-id: T5252
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>