Bail out of bp_core_add_page_mappings() when no component names have been passed

This prevents PHP notices in certain cases when the automated test suite is
run incorrectly.

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