RKKY interaction on curved surfaces: Different behavior of Dirac and Schrödinger carriers as interaction-mediating particles