printf is used in sixlowpan mac layer, stack needs to be adjusted
use local packet_length variable in sendto

Having a global packet_length variable doesn't seem to be the best
idea. To avoid trouble, a scope local variable should be preferred.
Merge pull request #384 from OlegHahm/sixlowpan_fixes

printf is used in sixlowpan mac layer, stack needs to be adjusted