Fixes for spi_dma_completed routines. Previously they were returning true
even when there was another buffer to be completed.

Also extended the PIT overrun period, and added a cast to prevent float
comparisons from occurring.
Merge remote-tracking branch 'mjfgithub/master'