Replica theory for fluctuations of the activation barriers in glassy systems