Speedy: move specific kernel defines to common

Change-Id: Id14f122f19a8f5818f61daf3390e7c1f2736f75b