Millwall have signed Owen Garvan on an emergency loan deal from Crystal Palace until the end of the season.