Cosmic string and brane induced effects on the fermionic vacuum in AdS spacetime