Barack Obama thanks NBA players for covering arena staff salaries