Update frame.f_lineno before any call to the (C) tracing function.  (GH-24150)

* Minimizes breakage of C extensions and ensures PyFrame_GetLineNumber is efficient.
1 file changed