nvme: factor out a add nvme_is_write helper