m7-common: split firmware linking by variant

Change-Id: Id110fc7a38efe78a16c946fea5750cc37b9ea9da