bug fix:malloc may not free as ngx_strerror_init failed

before we do not check if malloc-action is legal 、newmem initialize and mem free as occured failed if in ngx_strerror_init