Move `HasPyObjAs` and `HasPyObjFrom` out of namespace `clif`.
Move `HasPyObjAs` and `HasPyObjFrom` out of namespace `clif`.

Otherwise they might return incorrect result. From https://en.cppreference.com/w/cpp/language/unqualified_lookup, ```name lookup examines the scopes as described below, until it finds at least one declaration of any kind, at which time the lookup stops and no further scopes are examined.```

In our case, if we put these two functions in namespace `clif`, the compiler will find `Clif_PyObjAs` and `Clif_PyObjFrom` functions in namespace `clif`, which should exist (not necessarily the correct overload), and then it stops. `Clif_PyObjAs` and `Clif_PyObjFrom` functions defined in global namespaces are not found.

Before this change, if `Clif_PyObjAs` and `Clif_PyObjFrom` functions are defined in global namespaces, the error message is confusing: https://fusion2.corp.google.com/invocations/8c020f71-f483-4cb8-a899-64517a90c5c8/log (failed).

After this change: https://fusion2.corp.google.com/invocations/f0c0cc29-4224-4bf4-ae31-84a5321ec7b9/log (failed).

PiperOrigin-RevId: 483810634

google/clif,google/clif,google/clif