Members: fix PHP notice on avatar upload screen after account registration.

Fixes #5899, props thebrandonallen and imath

git-svn-id: https://buddypress.svn.wordpress.org/trunk@9096 cdf35c40-ae34-48e0-9cc9-0c9da1808c22