mciwave: Correctly handle error return status from mmioRead.