Current sensing for buck boost converter