remove unused parameters of collectShims

This is useful for programs that use GHCJS as a library to parse shims -- otherwise we have to provide dummy values.