Resolves https://cirrus-ci.com/task/4787303177519104?logs=ci#L3020 related to #22584.
0UndefinedBehaviorSanitizer: implicit-signed-integer-truncation
1
2netaddress.cpp:1190:18: runtime error: implicit conversion
3 from type 'int' of value -1 (32-bit, signed)
4 to type 'uint8_t' (aka 'unsigned char')
5 changed the value to 255 (8-bit, unsigned)
NetmaskBits()
returns -1 if the subnet mask is invalid, which can be incompatible with uint8_t cidr
and should probably be exited from.
This allows removing the netaddress UBSan suppression (implicit-signed-integer-truncation).