Hamilton Masakadza and Brendan Taylor hit half-centuries as Zimbabwe reached 237-8 on day one of the second Test against Pakistan in Harare.