Revert "recovery: adopt TWRP's generic gr_text implementation."

This reverts commit 338281046917a22a564bd902370548032460e907.