fix printf format warnings in dtypes test.