[script] update 'make-pretty clang-tidy' to output warning/error only (#5754)
[script] update 'make-pretty clang-tidy' to output warning/error only (#5754)

This change limits the output (when clang-tidy check fails) to error
or warning messages along with next 5 lines (remove `^|`)
srickardti/openthread,srickardti/openthread,openthread/openthread,chshu/openthread,chshu/openthread,chshu/openthread,jwhui/openthread,bukepo/openthread,jwhui/openthread,abtink/openthread,jwhui/openthread,chshu/openthread,chshu/openthread,srickardti/openthread,srickardti/openthread,jwhui/openthread,abtink/openthread,abtink/openthread,abtink/openthread,openthread/openthread,bukepo/openthread,openthread/openthread,chshu/openthread,openthread/openthread,bukepo/openthread,bukepo/openthread