minor derivative to reduce compiler warnings and tag read-only parameters as const.

Dependents:   EthernetInterface

Fork of lwip by mbed official

core/pbuf.c/shortlog@51ac1d130fd4: not found in manifest