build: allow changing kernel name in new image code