d2: add support for variant defconfigs

* shamelessly kanged from jf

Change-Id: I86a538f16bbb91dcc9366ed42a35a6451500403d
defconfigs: fix up for selinux dependencies