Principal components of dark energy with Supernova Legacy Survey supernovae: The effects of systematic errors