Plasmonic attenuator for infrared imager testing