extmod/modbluetooth: Prioritise non-scan-result events.
extmod/modbluetooth: Prioritise non-scan-result events.

Remove existing scan result events from the ringbuf if the ringbuf is full
and we're trying to enqueue any other event.  This is needed so that events
such as SCAN_COMPLETE are always put on the ringbuf.

bvernoux/micropython,trezor/micropython,kerneltask/micropython,henriknelson/micropython,selste/micropython,pramasoul/micropython,tobbad/micropython,pozetroninc/micropython,MrSurly/micropython,trezor/micropython,pozetroninc/micropython,henriknelson/micropython,kerneltask/micropython,henriknelson/micropython,adafruit/circuitpython,selste/micropython,pozetroninc/micropython,tobbad/micropython,trezor/micropython,bvernoux/micropython,selste/micropython,pozetroninc/micropython,bvernoux/micropython,selste/micropython,henriknelson/micropython,henriknelson/micropython,pramasoul/micropython,adafruit/circuitpython,trezor/micropython,MrSurly/micropython,adafruit/circuitpython,selste/micropython,adafruit/circuitpython,kerneltask/micropython,MrSurly/micropython,pramasoul/micropython,adafruit/circuitpython,MrSurly/micropython,tobbad/micropython,MrSurly/micropython,pramasoul/micropython,tobbad/micropython,bvernoux/micropython,kerneltask/micropython,adafruit/circuitpython,kerneltask/micropython,tobbad/micropython,trezor/micropython,bvernoux/micropython,pramasoul/micropython,pozetroninc/micropython