The effect of tides and an inner core on the forced longitudinal libration of Mercury