[SCEV] Move some struct declarations inside functions; NFC