Type max_int constant to int64 so golang can handle 32bit systems.

Signed-off-by: Stephan Hagemann <stephan@pivotallabs.com>