librpc:ndr: Avoid overflow in size calculation