libril: fix build when log is enabled.

Change-Id: I93bca8abbdced44f2360b3ab00510f111a724333