use a more generic approach

Check that the pvt has not changed instead of testing if the channel is
not a zombie.

Instead of checking the pvt (i.e. ast_channel_tech_pvt), we could also
have done the check on the channel tech (i.e. ast_channel_tech).