Fix: incorrect field accounting for dynamic type
Two field accounting issues were introduced by
commit
218deb69baab "tracepoint: Refactor representation of nested
types" which affect the dynamic types used by Java application contexts.
The structure types should account 1 for the structure per se, in
addition to the nested fields.
The atype_dynamic includes an implicit enumeration, which now has two
fields instead of 1.
This was causing memory corruption issues in the lttng-ust-java-tests.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>