unit: do not open-code freeing ndef message

Use near_ndef_msg_free() instead of open-coding it.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

---

Changes since v1:
1. Change also test_snep_cleanup()
1 file changed