stdenv: Prevent issues like #4266

Don't preserve hardlinks, and instead use reflinks if they're available.