ethdev: add lock to port allocation check