build/android: fix ffmpeg and openssl build scripts

This commit adds support to compile openssl for every arch (it was only building it for armv7a). It also fixes a typo and a compilation issue when openssl is enabled in FFmpeg.