Avoid non-reentrant lock in OpenCores Ethernet MAC hardware model