Skip macro magic for counting params, it doesn't work

Instead use simpler macros for MOCKing functions, where number of
parameters is explicitly mentioned. Perhaps not quite as cool, but
it works much better and is portable.