Revert "ril: Remove redundant check in message interception"

This reverts commit 19a3ad7294de7d024bfa9fda738e2ea73f1ea4fe.