nfsd: Add reference counting to the lock and open stateids