Avoid loading the plugin when BuddyPress is being activated

Either BPSP will call a function that's undefined (because the mock isn't setup), or BuddyPress will try to redeclare a mocked function.
Correct deactivation hook callback