can-utils/lib: fix build issues introduced with sprintf_can_error_frame()