Fix various rk_fb warnings

Mostly unused code: I've removed what was obvious dead code; macros
to hide stuff that might become useful at some point.