Prince Charles is to give his blessing to Commonwealth countries wanting to remove Queen Elizabeth as head of state in an upcoming speech.