openocd: Add CMSIS DAP support and add build dependencies