Simplify bytes.Equal nil check

Proprietary

Replace bytes.Equal(b, nil) and bytes.Equal(nil, b) with len(b) == 0.

org.openrewrite.golang.codequality.SimplifyBytesEqualNil
mod run . --recipe=org.openrewrite.golang.codequality.SimplifyBytesEqualNil

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.