overlay: move to common

Change-Id: Icd79d9d4066dd4416814d3514fb11256625e9ead