agnosticbin2: Fix type provided in parameter callback functions

Change-Id: Ia36f682d307260c0e4f809d6457358127071c89d