[PATCH 19/32] net/x25: prevent a couple of overflows