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

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