Evidence for the inside-out growth of the stellar mass distribution in galaxy clusters since z~1