socket: fix ubsan complaint about incorrect left-shift in generate_local_port()

n needs to be uint32_t to fit left shift by 22 bits

https://github.com/thom311/libnl/pull/379
1 file changed