[asan] Added assembly functions for x86/amd64 asan.

These are runtime support functions for inline assembly instrumentation.
This is a re-submit of r201402.

Patch by Yuri Gorshenin.
Try to revive buildbots after r201620