Make ceph_erasure_code_benchmark more robust.

@dachary
If we use incorrect parameter for k/m. The ceph_erasure_code_benchmark don't end up rather than do some test. But we don't know the result whether we want.