check_priv: 3 attempts, error if wrong password

Before:
if pinentry failed, sudo will ask for password in terminal. This means that a gui will lockup, because the ask-for-password is in the terminal, not usable in gui.

Now:
if pinentry fails, it asks other 2 times. If you fail the password again, tomb exit with error code 16 (chosen at random)