libcontainer: Don't set container state to running when exec'ing
libcontainer: Don't set container state to running when exec'ing

There is no reason to set the container state to "running" as a
temporary value when exec'ing a process on a container in "created"
state. The problem doing this is that consumers of the libcontainer
library might use it by keeping pointers in memory. In this case,
the container state will indicate that the container is running, which
is wrong, and this will end up with a failure on the next action
because the check for the container state transition will complain.

Fixes #1767

Signed-off-by: Sebastien Boeuf <90b401417360b1924ef3f520ddee932686110f85@intel.com>

opencontainers/runc,opencontainers/runc,adrianreber/runc,laijs/runc,adrianreber/runc,dqminh/runc,mheon/runc,crosbymichael/runc,dqminh/runc,stefanberger/runc,rhatdan/runc,cyphar/runc,crosbymichael/runc,justincormack/runc,mYmNeo/runc,adrianreber/runc,stefanberger/runc,cyphar/runc,opencontainers/runc,mYmNeo/runc,mikebrow/runc,kolyshkin/runc,kolyshkin/runc,stefanberger/runc,cyphar/runc,xiaochenshen/runc,estesp/runc,opencontainers/runc,mYmNeo/runc,xiaochenshen/runc,rhatdan/runc,justincormack/runc,mikebrow/runc,justincormack/runc,wking/runc,rhatdan/runc,kolyshkin/runc,wking/runc,mikebrow/runc,rhatdan/runc,mheon/runc,estesp/runc,kolyshkin/runc,wking/runc,dqminh/runc,laijs/runc,dqminh/runc,xiaochenshen/runc,mheon/runc,estesp/runc,laijs/runc,crosbymichael/runc