Fix inconsistent scale.tickFormat API.
Fix inconsistent scale.tickFormat API.

Backported to v1.5.4 (for vega-lite compatibility) from https://github.com/vega/vega/commit/73c40fde050002fc46aa05f86830207613c0add6

osnr/vega,osnr/vega,osnr/vega