Sri Lanka gets $500m S.Korean loan after Chinese bailout