patcheck: check for pointer arrays that are not const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Add missing "const" all over the place.

Only "./configure --enable-gpl" on x86 was tested.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>