Ar: Implement re-linking avoidance.

We do this by not putting timestamps into the .a file,
and not touching it if is already there and the contents are the same.
GHC.buildLib: Don't remove old files before building.

We need them to compare against, so that we can decide if we want to
write new files or keep the old ones untouched.