sh: Decouple mcount from ftrace.