Sheared flow stabilization experiments in the ZaP flow Z pinch