Update image.go

Don't loose precision when parsing image size on 32 bit machines.
Presumably fixes #8979.