[android] Pass flags to libgc.