Add support for :nsec option to Time#change

Closes #16392.