build: consolidate darwin compile flag additions in configure This is mostly move-only, apart from some changes to comments.