Update stdio.d

Eliminate use of deprecated read-modify-write operation on shared variable.