Prior to his resignation, what office did Gaddafi occupy in the GPC