Officers heard gunfire and the sound of bullets passing by them; police said it’s unclear if the precinct was targeted