mcelog: fix compilation error caused by migration to snprintf().