Device for the detection of engine knock