A mass grave containing 24 unidentified bodies was discovered by authorities in Libya's coastal city of Sirte, once controlled by the Islamic State group.