Revert "ARM: 7494/1: use generic termios.h"

This reverts commit 9e51d16d3dbdce1bfebd07de8b351c037e57d573.
Revert "arm: compile with the generic rwsem"

This reverts commit 722c5832cd7d33af9054cc2411ba32723212c81b.