Update to 1.3.6 and support python 3.11
This patch updates yappi to latest tag 1.3.6 and backports unreleased
patches required for python 3.11 from https://github.com/sumerc/yappi/pull/107
(cherry picked from commit cba2e0f7894911b0e21a3be277ba662422a47cff)