Polarization features of x-ray absorption spectra measured in the resonance inelastic x-ray scattering mode