install-ffmpeg.ps1: Remove duplicate path resolution code


At present, this script has two functions that resolve the exact same
path. One does it for a regular path, and one does it for a MSYS-style
path.

This patch adds a new helper function that converts regular paths to
MSYS-style paths to helpers.ps1 and uses it in install-ffmpeg.ps1.

As a drive-by, we fix some incorrect paths for Android OpenSSL.

Pick-to: 6.12
Change-Id: Ia0c7b4be21ed58d4b4fb633b8aeb16de1664694c
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
commit7b6457f76e403d1f0cbbbe478e8a856d35aeb0c9
parent75400695b58f24c2151a44254fe741f4c3171072
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeSat, 26 Sep 2026 07:20:31 +0000