[osh] Fix ${a[@]:-}, ${a[*]:-}, etc. to depend on string value, not array (#2215)