block: export 'ro' sysfs attribute for partitions