asPrefsStore

Adapts a real DataStore<Preferences> (android/jvm/iOS only — androidx.datastore.preferences has no wasmJs variant) to the platform-neutral PrefsStore. Every CorePrefsAndroidBindings/DesktopPreferencesDataStoreBindings call site that used to hand a DataStore<Preferences> straight to an asXDataStore() wrapper now inserts this adapter first: store(...).asPrefsStore().asXDataStore().