[PATCH 6.2 596/663] pinctrl-bcm2835.c: fix race condition when setting gpio dir