Friend of San Bernardino shooter facing terrorism charges