[FEATURE] Update SYS_LASTCHANGED

Updates the register SYS_LASTCHANGED if necessary.

Fixes: #56868
Releases: master
Change-Id: Iafe320a032f40adc7b81fdc646ef542868fb8a61
Reviewed-on: https://review.typo3.org/28343
Reviewed-by: Peter Kraume
Tested-by: Peter Kraume
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau