HOPKINS: fix palette writes on BE