tests: mgmt: mcumgr: enum_mgmt: Fix removed zcbor function

Fixes use of a function that has been removed

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 file changed