fdisk: do not allow writing to a read-only device

Print a warning instead.

Signed-off-by: Maciej Małecki <me@mmalecki.com>