Fix trace instrumentor to build against CLANG 3.2
Fix trace instrumentor to build against CLANG 3.3
Fix trace shared-memory identification regexps to only identify permanent buffers