md: 'sync_action' in sysfs returns wrong value for readonly arrays