On the role of γ-ray emission from nucleon unbound states in the mechanism of compound nuclear reactions