ixgbe: replace direct lockmgr calls by macros