fix(pubsub): use MaxInt instead of MaxInt64 for BufferedByteLimit (#6113)
fix(pubsub): use MaxInt instead of MaxInt64 for BufferedByteLimit (#6113)

* pubsub: use MaxInt instead of MaxInt64 for BufferedByteLimit

Should fix compatibility with 32-bit architectures.

Closes #6112.

* pubsub: copy over logic for maxInt
googleapis/google-cloud-go,googleapis/google-cloud-go,googleapis/google-cloud-go,googleapis/google-cloud-go