Dissipative spin dynamics near a quantum critical point: Numerical Renormalization Group and Majorana diagrammatics