s4:pyregistry: make use of samba_tevent_context_init()