driver: fix gpio pin_bit_mask truncation in sdspi_host and others See merge request espressif/esp-idf!6746