Long-period forcing of Mercury's libration in longitude