Change GETSYM and PEEK to proper functions

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Fixed compiler warning

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Remove _FRAME and _SELF macros

and make GetFrame() inlinable.

Signed-off-by: Stefan Marr <git@stefan-marr.de>