ci: fix build system test on macOS
ci: fix build system test on macOS

Replaces ${var^^} expansion supported with Bash >= 4 with 'tr'

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