src/master: Remove dataisnew initializer, use C99 named struct initialization.
src/master: Better variable names and C99-style declarations.
src/master: Enable C99 mode in Makefile, make functions inline properly.

Inline function definitions had to be moved from spi.c to spi.h,
otherwise they aren't inlined (across translation unit boundaries).