An unannounced inspection at HMP Altcourse has found serious safety risks, including self-harm incidents and drug issues.