power/charger: Refactor to platform repos.

Change-Id: I7b9dee8c92e25e8be3b1b9bbad60a64ab7dccbcc