lib/spiflash: allow queuing using multiple contexts
lib/spiflash: fix program/erase bug causing wrong callback data to be used