KM3NeT upper bounds of detection rates of solar neutrinos from annihilations of dark matter at the solar core