(__getmntent_r): Explicitly lock stream. Use fgets_unlocked.