Fix QScopedPointer::swap deprecation warning


By switching to unique_ptr.

Also remove the QSerialPortInfoPrivateDeleter since it's not needed.

Fixes: QTBUG-102001
Change-Id: I48d7b5982a28b57085883f127ba09d1cae94b196
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
commit87a974259d1b0289e85c61e0b45251d6261e4f0f
parentfa0da0f583b9d18e0eb57ec197f454ce0f0ae0d5
authorMårten Nordheim <marten.nordheim@qt.io>
committerMårten Nordheim <marten.nordheim@qt.io>
commit timeThu, 24 Mar 2022 09:18:22 +0000