Moved ulimit -c unlimited earlier

Change-Id: I616af0043de397dec6f849fcc65bebeef61f4543