[PATCH 6.1 544/611] pinctrl-bcm2835.c: fix race condition when setting gpio dir