[PATCH openEuler-1.0-LTS 09/16] net/x25: prevent a couple of overflows