This patch fixes an interesting case with the clang_analyzer_getExtent analyzer debug intrinsic.
Previously, one could not query the extent for a heap-allocated object.
I'm resolving this issue, by querying the extent of the base region of the given region.
This way, we will be able to query the extent of a new/malloced region in tests.
This should not change any meaningful behavior inside the analyzer.
Wait a bit, I think it should consider the offset too. So, getDynamicSizeWithOffset should be used IMHO.