Revert " ftrace: Consistently restore trace function on sysctl enabling"

This reverts commit 6555b9801b741970b8d3b0e921cf4c187d316eac.