Fix type conversion for parameters passed by reference (yast/ycp-killer#486)

Only this fixes https://github.com/yast/ycp-killer/pull/486 , the previous one didn't mean to.