spi: Handle NULL rx buffer

This allows one to ignore recieved data without a throw-away buffer
Merge pull request #82 from bgamari/spi

spi: Handle NULL rx buffer