Revert "Call minikin::getBounds instead of using Layout."

This reverts commit efd38dd5046b659bd39bded00e40882e1495749e.
This regresses the DynamicLayout performance since it aggressively
calls TextPaint.getTextBounds.

CTS will not be removed since their test is still valid.

Bug: 170230123
Bug: 169114687
Test: N/A
Change-Id: I9f0951c6aefb7785137c00c7f802fb0c0a518cd2
3 files changed