Add missing #ifndefs to overridden SPI typedefs. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>