Use LINKADDR_SIZE instead of sizeof(linkaddr_t) to avoid struct padding problems.

Changed to use LINKADDR_SIZE instead of sizeof(linkaddr_t) to select between short address and long address in framer-80215.4.c as some platforms might use padding in the struct. Fixed similar issue in packetbuf.h. This should resolve #555.