Update build script for arm64

Used https://github.com/kewlbear/FFmpeg-iOS-build-script/blob/8c0fe8004a251b58cb2694acd9d87e6aad06e55e/build-ffmpeg.sh as a base.