Portsmouth have signed midfielder Danny Hollands on loan from Charlton Athletic until the end of the season.