net/szedata2: use macro from common library