arrays: forgot to generalize make_immutable_array

- correction to previous patch