[guice] Avoid using internal com.google.inject API - Bug #446106

Change-Id: I4bd8f036d3537df04bfaf923c5454c0f7d11de91