removeIfCompat

inline fun <T> MutableList<T>.removeIfCompat(noinline filter: (T) -> Boolean)