[build] enable gcc -Wcast-qual on test builds
[cast-qual] make usb_ep_send receive a const data pointer (requires a little hack to convert to regular data pointer since BSP code requires a non const pointer)
[cast-qual] make hexdump receive a const pointer
[cast-qual] avoid discarding 'const' qualifier in usbd code