Block, formerly known as Square, reported better-than-expected earnings for the quarter even as revenue missed estimates.