GlaxoSmithKline is making a donation that it said would give more than 10,000 girls and women access to human papillomavirus vaccination.