Yes, i even applied O3 (makes the compiler optimize the code) and the black border is gone and the game works fine.
I cannot share the binary, however, here is the description on how to build it yourself: https://github.com/fgsfdsfgs/sm64pc/wiki/Compiling-for-Nintendo-Switch