Implications of a wavelength-dependent PSF for weak lensing measurements