(Libretro) Add libspeex/wavpack optional dependency rules