[mapplauncherd] added error logging to setregid()