Revert "telephony: Fixes for SMS middleware"

This reverts commit 722c2a06887f5b83b99f89cbf1041c79eb2a579e.
Revert "telephony: Fix custom RILs for new API"

This reverts commit deb799cfa65b4453b8fc44943b668fb13aebeb40.