Fix dependencies for wikibase.formatters.api

Change-Id: I88595bf6c24d0a44d7f93e440e9b234afeafc356