image.mk: include per-device profiles in image build profile check