syslinux: add some inline functions for clearing screen and setting cursor position