md: allow upper limit for resync/reshape to be set when array is read-only