gfx3d: Change some function to have a return type of bool, not BOOL