Man threatens self-harm at Vic parliament