You can compile the latest version of bannertool for your system and have retroarch build with that instead of the builtin one that fails on windows.
NOTE: I do not have the 3ds version of devkitARM installed so I could not test it if moving the assets to pkg/ctr broke compiling but I did change the assets paths in Makefile.ctr and Makefile.ctr.salimander so it should compile.