Make mert-moses.pl more portable

bash is not necessarily at /bin/bash (typically on FreeBSD, it isn't).
Besides, the generated script does not seem to require bash features.