Fix the branch-3.3 docker image and create-release scripts to work on arm 64 and macbook m1 Contributed by Ayush Saxena and Steve Loughran
(cherry picked from commit f17e067d527b0089124a8ca69b36fb20ed118c55)