install-ffmpeg-android.sh: Assert OpenSSL symlinks


In the script, we currently remove symlinks if they are not already
there, then establish and then remove them again. This is not necessary,
the symlinks should already be in the prebuilt binaries. This patch
makes us assert that they are there.

As a drive-by, we move some logic around to confirm the OpenSSL include
folder is valid as early as possible.

Pick-to: 6.12
Change-Id: Id7a74913be8b3c3c27350d4eee8259312c25f740
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit348f93b6ea48d7dec30f9a2d6d70f1ec5ba43bb0
parentfb3ee61c5ddc944a677872003d07e9a277af4010
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeMon, 26 Oct 2026 19:58:57 +0000