[BUGFIX] Fix predefined archive date for new records

The archive date was only set if the record got an uid which is not
needed, the pid is the only thing needed

Change-Id: Ic4dc05d068cf13465e58b0727e7a0b0a83a940e2
Resolves: #51247
Reviewed-on: https://review.typo3.org/23264
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer