Purity as a witness for initial system-environment correlations in open-system dynamics