utils: fix num parsing functions
utils: fix num parsing functions

Suggested-by: 60826da52354ce2aab1943d74c9d4b3cc35a2a71@web.de
Signed-off-by: Christian Brauner <48455ab3070520a2d174545c7239d6d0fabd9a83@ubuntu.com>

lxc/lxc-pkg-ubuntu,lxc/lxc-pkg-ubuntu,lxc/lxc-pkg-ubuntu