move __stdio_exit_needed to stdio_impl.h

this functions is glue for linking dependency logic.
3 files changed