ScopInfo: Add getTupe() method to MemoryAccess

We also move the enum to UPPERCASE.