agnosticbin: Add traces for dispose and finalize functions

Change-Id: I129329b688fa2902f6e94c7ad5245a286950aff9