NYPD officer accused of threatening rapper 50 Cent