Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram.
Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code.
Fix warning.
The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll.