Fixed the pass for changing parameter types to their respective interface, if any, not to lose any pointers.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>