rapidio/rionet: add locking into add/remove device