tests: 6lo: convert legacy test to ztest with cleanup

Test uses ztest and coding cleanup errors along with
warnings are removed through this patch

Signed-off-by: Punit Vara <punit.vara@intel.com>
3 files changed