lua: simplify function-call macros