events: simplify some conversion functions
events: simplify some conversion functions

Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

estesp/runc,opencontainers/runc,kolyshkin/runc,dqminh/runc,dqminh/runc,estesp/runc,rhatdan/runc,opencontainers/runc,kolyshkin/runc,rhatdan/runc,opencontainers/runc,kolyshkin/runc,opencontainers/runc,estesp/runc,rhatdan/runc,dqminh/runc,dqminh/runc,kolyshkin/runc,rhatdan/runc