buzzmachineloader: small api cleanup and more logging

Remove the parameter checks from the static helpers - we already validate the
params in the public api. Add more logging.
bml: use strcasecmp for dll/so detection