agnosticbin: Fix parsebin linkage

Previous way of linking was increasing reference to kmselement causing
memory leaks

Change-Id: Ibd1ac6ddcf8d33567793d9d9d934ae454f3bb9b6