fix dataqueue, limit queue size to usable values (2,4,8,16...) to avoid errors when put_index exceed 0xffff.
fix dataqueue, limit queue size to usable values (2,4,8,16...) to avoid errors when put_index exceed 0xffff.

nongxiaoming/rt-thread,RT-Thread/rt-thread,armink/rt-thread,nongxiaoming/rt-thread,weety/rt-thread,armink/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,geniusgogo/rt-thread,ArdaFu/rt-thread,weety/rt-thread,nongxiaoming/rt-thread,RT-Thread/rt-thread,weety/rt-thread,armink/rt-thread,hezlog/rt-thread,weety/rt-thread,ArdaFu/rt-thread,hezlog/rt-thread,armink/rt-thread,geniusgogo/rt-thread,nongxiaoming/rt-thread,armink/rt-thread,ArdaFu/rt-thread,nongxiaoming/rt-thread,hezlog/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,ArdaFu/rt-thread,ArdaFu/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread,geniusgogo/rt-thread,hezlog/rt-thread,hezlog/rt-thread,geniusgogo/rt-thread,armink/rt-thread,weety/rt-thread,weety/rt-thread,ArdaFu/rt-thread,armink/rt-thread,geniusgogo/rt-thread,geniusgogo/rt-thread,weety/rt-thread,geniusgogo/rt-thread,ArdaFu/rt-thread,RT-Thread/rt-thread