net: esp{4,6}: fix potential MTU calculation overflows