common: Conditionally compile-out os::log (issue #164).

For the purpose of integrating apitrace into Regal, unify the logging by
leaving out the defaut os::log method, optionally.