p1-common: twrp: graphics: make it compatible with new feature

feature: Implement "take a screenshot"
https://gerrit.omnirom.org/#/c/6283/

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I7e0a569d76d8c209e8fad6de1037abce37ea90e0