SERVER-6243 Stop using shared_ptr<BSONObj> in aggregation

This was unnecessary since BSONObj is a smart pointer internally.