[lld-macho] improve handling of -platform_version