Sri Lankan president to resign – media