h1dmux: dont write rw-lock mutex when only read-lock is needed