hw/block/nvme: commonize nvme_rw error handling