Switch main BuddyPress singleton pointer from a private static to a local static inside the instance() method, preventing recursive $instance references. See #BB2370.

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