Revert "term.c: remove IGNBRK setting"

This reverts commit 3d38e0e7ded9d4896b1a5a1d00a9ad3e11ef75e0.