ARROW-12785: [CI] the r-devdocs build errors when brew installing gcc
ARROW-12785: [CI] the r-devdocs build errors when brew installing gcc

Closes #10328 from jonkeane/ARROW-12785-devdocs-gcc

Authored-by: Jonathan Keane <28d17c45cab2bb8b25bea44a915713e26ce37e1b@gmail.com>
Signed-off-by: Jonathan Keane <28d17c45cab2bb8b25bea44a915713e26ce37e1b@gmail.com>

apache/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,wesm/arrow,apache/arrow,cpcloud/arrow,kou/arrow,wesm/arrow,kou/arrow,kou/arrow,apache/arrow,kou/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,laurentgo/arrow,icexelloss/arrow,wesm/arrow,laurentgo/arrow,wesm/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,apache/arrow,apache/arrow,cpcloud/arrow,cpcloud/arrow,laurentgo/arrow,icexelloss/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,cpcloud/arrow,laurentgo/arrow,icexelloss/arrow,apache/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,laurentgo/arrow,icexelloss/arrow,cpcloud/arrow,apache/arrow,cpcloud/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,apache/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,apache/arrow,kou/arrow,kou/arrow,wesm/arrow,apache/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow