Observations of M42 in the [O III] 52 and 88 µm lines, the [O I] 63 µm line and the [N III] 57 µm line