Weak Hardy space and endpoint estimates for singular integrals on space of homogeneous type