crt: Show error message when some of __xi_a - __xi_z callbacks fails at startup

Currently we are just exiting application with status code 255 on error.
Change it to _amsg_exit() which also exit application with status code 255
but it also show GUI error message or print it to console.

Use error message 10 which shows abort information on msvcrt builds.

Signed-off-by: LIU Hao <lh_mouse@126.com>
1 file changed