Cosmit: remove deprecation warning
NXP-11185: fix transactional context initialization in hierarchy-permission tests