[msan] Fix sigaction test.

Restore SIGPROF handler to the original state after the test.