Converted addr_type to 32-bit, simplified TTPattern class

Other notes:
* Bug fix in StubCleaner
* Reduced memory usage in PatternGenerator and PatternMatcher, but the work is unfinished