Bind a Statement stmt with a Duration value at the given index.
stmt
value
index
int bindDuration(Statement stmt, Duration? value, int index) => bindInt(stmt, value?.inMicroseconds, index);