Fixed os::chdir return value checking in launcher.cpp.
Fixed os::chdir return value checking in launcher.cpp.

From: Vinson Lee <25a259f709b0f1b620605d2518271a846d8826e5@freedesktop.org>
Review: https://reviews.apache.org/r/13880

andschwa/mesos,reneploetz/mesos,andschwa/mesos,dforsyth/mesos,kaysoky/mesos,asamerh4/mesos,abudnik/mesos,Gilbert88/mesos,kaysoky/mesos,chhsia0/mesos,andschwa/mesos,dforsyth/mesos,gsantovena/mesos,neilconway/mesos,jpeach/mesos,andschwa/mesos,andschwa/mesos,chhsia0/mesos,verizonlabs/mesos,Gilbert88/mesos,gsantovena/mesos,zmalik/mesos,craimbert/mesos,gsantovena/mesos,reneploetz/mesos,reneploetz/mesos,abudnik/mesos,zmalik/mesos,zmalik/mesos,kaysoky/mesos,jpeach/mesos,gsantovena/mesos,gsantovena/mesos,yuquanshan/customizedMesos,jpeach/mesos,craimbert/mesos,chhsia0/mesos,asamerh4/mesos,dforsyth/mesos,neilconway/mesos,asamerh4/mesos,Aman-Jain-14/customizedMesos,kaysoky/mesos,chhsia0/mesos,verizonlabs/mesos,kaysoky/mesos,dforsyth/mesos,abudnik/mesos,andschwa/mesos,verizonlabs/mesos,reneploetz/mesos,chhsia0/mesos,chhsia0/mesos,Gilbert88/mesos,andschwa/mesos,asamerh4/mesos,neilconway/mesos,jpeach/mesos,kaysoky/mesos,verizonlabs/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,verizonlabs/mesos,neilconway/mesos,Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,craimbert/mesos,yuquanshan/customizedMesos,craimbert/mesos,asamerh4/mesos,kaysoky/mesos,abudnik/mesos,verizonlabs/mesos,yuquanshan/customizedMesos,abudnik/mesos,jpeach/mesos,Gilbert88/mesos,dforsyth/mesos,craimbert/mesos,Aman-Jain-14/customizedMesos,Aman-Jain-14/customizedMesos,chhsia0/mesos,neilconway/mesos,reneploetz/mesos,yuquanshan/customizedMesos,zmalik/mesos,Gilbert88/mesos,craimbert/mesos,jpeach/mesos,yuquanshan/customizedMesos,verizonlabs/mesos,jpeach/mesos,zmalik/mesos,zmalik/mesos,reneploetz/mesos,dforsyth/mesos,asamerh4/mesos,dforsyth/mesos,Gilbert88/mesos,Aman-Jain-14/customizedMesos,neilconway/mesos,asamerh4/mesos,gsantovena/mesos,neilconway/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,Gilbert88/mesos,gsantovena/mesos,abudnik/mesos,craimbert/mesos,zmalik/mesos