Centralizers of $C^1$-contractions of the half line