Swansea defender Jazz Richards has joined Championship title chasers Crystal Palace on loan for the remainder of the season.