treewide: sync bootcount scripts across targets