Effect of defect energy on strain-gradient predictions of confined single-crystal plasticity