Adapt to calling convention on NetBSD.
Adapt to calling convention on NetBSD.

Signed-off-by: Thomas Klausner <2e212ebba9302a65e9fd21f6772368fe60592fe8@NetBSD.org>

OlegOAndreev/bx,MikePopoloski/bx,dariomanesku/bx,septag/termite,MikePopoloski/bx,septag/termite,coconutxin/bx,attilaz/bx,septag/termite,0-wiz-0/bx,dariomanesku/bx,mmicko/bx,OlegOAndreev/bx,septag/termite,fluffyfreak/bx,coconutxin/bx,fluffyfreak/bx,attilaz/bx,pigpigyyy/bx,septag/termite,pigpigyyy/bx,septag/bx,bkaradzic/bx,0-wiz-0/bx,mmicko/bx,septag/termite,septag/bx,bkaradzic/bx