bugfix uint64 => int64

bugfix to match https://github.com/docker/docker/blob/228c6a374bf5fa47b0e19751ddc9148052bb7bbc/runconfig/config.go
container: add test for negative swap
authors: add Andreas Jaekle