Move common kernel build defines to common device

Change-Id: I9b9c6792f2804ff9101dbd2aef7f2d70d426a539