add n-thread option for bammarkduplicates2