sshd: add null check

* Bionic sets privsep_pw->pw_passwd to null always,
  and trying to run memset() and strlen() on that
  results in a segfault.
* Add a check for null to prevent that.

Change-Id: Ifd8edad787abf4fca481ccf6999bc2106027871a