basecurve tool: fix test for ab scaling
basecurve tool: add an helper script to use embedded JPEG files from Nikon/Canon RAWs