Fix compiler warnings

Moved static forward declarations from mat5.h to mat5.c to silent
compiler warnings on windows