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