Generalized Schur-Weyl dualities for quantum affine symmetric pairs and orientifold Khovanov-Lauda-Rouquier algebras