[mod] add musl compatibility to cppcheck