Add --max-nside option to bayestar_bin_samples

Supports a maximum level of subdivision

(cherry picked from commit dd9b026cac2f69be5bb3106d0c29e41fe8b37d20)