Replace custom circular queue impl with an Apache Commons impl

* The custom circular queue implementation from the Android sample project doesn't seem to work correctly, even in the original sample project