Drop Annex K scanf_s functions.

The Annex K scanf_s functions interpret %s, %c and %[ as applying to a pair of
arguments.  This is not compatible with the core scanf functions.
Eliminate false sizeof(x)/sizeof(y) warnings.

Warn only if x is a pointer.  This eliminates some meaningless warnings when
FD_SET and friends are used in Linux.