dyncall: fix compilation using Clang 5+

Signed-off-by: Ruben Smits <ruben@intermodalics.eu>