BUG: fix ValueError for byte_bounds() on datetime array
close gh-4354
FIX: missing asarray import in numpy.libs.utils
TST: add unittest for byte_bounds
DOC: add byte_bounds issue to release notes
Merge pull request #4517 from juliantaylor/bytebounds-1.8

backport bytebounds fix to 1.8