image.mk: add support for limiting images to specific subtargets