wifi: convert legacy security fields to security params on restoing from store

Converting legacy configuration on reading it back, so the reader don't
need to do this additionally.

Bug: 184704998
Test: atest FrameworksWifiTests
Change-Id: Iaa226d1bb9ef9f7803acdc22e64da3a2659d9165
1 file changed