[scudo] Use memmove to move leftover elements in drain. (#237444)

Rather than loop over the array and move one by one, use the memmove
function. On a 64 bit Android device, in the system_server process, the
average time went from 68ns to 55ns. The worst case also went from
~250,000ns to ~45,000ns.

GitOrigin-RevId: 69319a8a31de365f6fcf84423eedcb1ab0b80170
1 file changed