Add code to avoid the wfProfileOut false positives at the Preprocessors

Caused by the $cacheable conditionals.

Change-Id: If55ded92e54dcb32104b3b9be915740a8e04700a