kmsbasehub: Use 64 bit signed integer even in 32 bit architectures

Change-Id: Ic48913cf03a41debe6d4deefb9b7f2e4dafbcbbf