realtek: separate lock of RTL8231 from phy driver