Added support for ashmem CursorWindow used by Android 4.0 or higher.