The Channel Mapper node can be used to map the RGB channels of an input texture to a new RGB channel order. The same input channel can be mapped to multiple output channels.
Figure 1: The Channel Mapper node
Use Index 0 for Red, 1 for Green, and 2 for Blue.