Add IOFramebuffer include file and remove duplicate setDisplayMode def