Load atrace_set_tracing_enabled() function dynamically

By avoiding the hard dependency on it, it should compile on SDK16
and work for SDK16 to (at least) SDK18.

Also enabled the ADDR_COMPAT_LAYOUT fix starting from SDK16.