Support FreeBSD on pkg/system/utimes_*.go

This PR and #4812 have two common commits. If the previous PR was too large to review, can we start from this one instead?