macosx: env.build.sh: sync with main build script
We target macOS 10.7 for VLC 3.x, so properly reflect that in the env.build.sh script as well and sync the list of disabled functions with the ones from the main build script to properly catch all of the relevant ones.