e1000: introduce helpers to manipulate link status