tools/pocount: Avoid a naked except clause