spi: Handle NULL rx buffer

This allows one to ignore recieved data without a throw-away buffer