[FLINK-25188][python][build] Support m1 chip.