py: Add guards against using nlr_push() macro where function is required.

It's probably unfortunate that function required only for native codegen
sits in runtime.c.