Android runtime: do not use std::remove.
Android runtime: do not use std::remove.

This fixes an issue of arrays not being freed in Android 5.

hipacc/hipacc,hipacc/hipacc-vivado,hipacc/hipacc,hipacc/hipacc-vivado,hipacc/hipacc-vivado