Fix SDCC Compile Error

Variable declaration intermingled with code prevents SDCC from compiling `uip-nd6.c`

This pull implements a very simple fix