Detection of circumstellar nitric oxide