Make iossocketcommon a `<dependency>` only for iOS platform

Plugman does have minimal support for this.