Remove several more functions and defines

* GETTICKCOUNT, CURSORBLINK
* filename_*()
* platform_get_x_display()