Boy accused of school threat due in court