Fixed #5643: Add jsb only APIs definitions to support code ide

and fixed #5674: Add defaultPixelFormat property doc