grep: fix EXTRA_COMPAT grep to honor -E and -i