chpass(1): Check crypt(3) return and handle error appropriately
This change is spiritually similar to the earlier r231994.
PR:		222756
Submitted by:	Lubos Boucek <bouceklubos AT gmail.com>
Obtained from:	DragonflyBSD 2020c8fec4168a5020f984a093224fade3074b25