tests/module-loading/shared-test.sh:  dump hal output on fail

Cryptic 'num pins found != num expected' isn't helpful.