Hidden scale invariance in the Gay-Berne model. II. Smectic-B phase.