libril: Provide support for legacy ril