ike-init: Fix error handling if nonceg can't be created