browser: use `console.warn()` for deprecation calls

warn() is more appropriate to use in this case.