lib: support reproducible install date
When building an Arch Linux image the install date would vary when
trying to reproduce it. Similar to building packages, respect
SOURCE_DATE_EPOCH
when installing packages.
mkosi for example already supports SOURCE_DATE_EPOCH so this would allow us to drop a custom hook to rewrite the INSTALL_DATE in pacman's local db when trying to reproduce an image.