Apparently it was not exported, because scandir_b.c was not included into libc SRCS.
Export it with the CURRENT-13 version.
Also, because it was not exported before ino64, clean up scandir-compat11.c.
PR: 248572
Reported by: Alex S <iwtcex@gmail.com>