In bp_locate_template(), don't bail if DOING_AJAX

This is an amendment to r7837, which broke template loading during AJAX
operations (such as in the case of activity posting)

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