Revert "add option to build LPA support in addition to legacy OMX"

This reverts commit 7c350e5d35b66bff700564a37ca54f7abf1d0d78.
Revert "fix compile error"

This reverts commit e1515c0b514040c827c08e197e11777c090c4b18.