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>