[C2hs] Passing extra arguments to marshalling functions