SDPD officer accused of brandishing gun in Pacific Beach appears in court