compat: remove use of static in [] parameters.

This breaks a lot of code scanners without much benefit. So we can just
remove it.