g2: Move kernel dependency to common

Change-Id: I597bceb6b4590f5ef230fdc3100feebf235a2577