Recent bitbake requires to declare multiconfig targets via "mc:". Use that chance to refactor the function and match on the colon as well. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>