Theory of local dynamical magnetic susceptibilities from the Korringa-Kohn-Rostoker Green function method