wifi: fix incorrect security params updating codes

requirePmf is overwritten incorrectly by the external config, it
should be updated along with security params list.

Security params list should be deeply copied to avoid unexpectedly
modification from external callers.

Bug: 186066324
Test: atest FrameworksWifiTests
Change-Id: I158d22735d17c5bed947815f036c719bfbc755f8
3 files changed