Fix gpio example.

Commit c13df34dfd7 broke the gpio example. The gpio example was passing
0 for the freq which is no longer allowed in SetClock for  mpsse modes.
Fix spiflashfast example.

The check for data being read would always succeed due to the test
looking at the pointer of the data instead of the data pointed being
pointed to.

Now checks the first element of the data array.