Fix dependencies for wikibase.ApiBasedValueFormatter

Change-Id: Iecc78e867f63af077fcff6d45fa0e45ac80533a4