s4-common: move ril class and flag to devices.

Change-Id: I163ade0e05b3c3cb34f355978bfd041df3f5c61f