Fix VSFilter compilation after 15734d04acbc85effb3a209702e3ae788d86eec3.

Thanks @kasper93.
Update contrib/mpc-hc.cppcheck options.
Remove redundant variable re-assignments.
Use the proper format type specifier.
Use the `CheckPointer` macro where possible.