Move sv_onexit() sysentvec hook slightly later
(cherry picked from commit 55976ce11a10765dee6c71b7ed6eac016bd560ef)