fix missing function declarations for __stdio_exit