[testlib] Fix mail monkeypatch in testlib
ea26eb5fd388 in stable introduce monkeypatching of SendMailOp.commit_event
8bc6eac1fac1 in default rename SendMailOp.commit_event to postcommit_event
d7f5d873e1b8 merge stable in default without handling the rename.