Fix missing declaration of __bswap64 in endian.h
Fix missing declaration of __bswap64 in endian.h

Merges https://github.com/espressif/esp-idf/pull/2983

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf