Remove code duplication and use the new FilterID function from c/common. Also remove the duplicated ComputeUntilTimestamp in podman use the one from c/common as well. Signed-off-by: Paul Holzinger <pholzing@redhat.com>