Simplify usage of lwm2m_transaction_t.