getprogname: fix port to IRIX * lib/getprogname.c (getprogname) [__sgi]: Don't dump core if malloc returns NULL.