rbd: disallow read-write partitions on images mapped read-only