Phase diagram of adjoint QCD at weak coupling and finite volume