JAVA-839: deprecated methods should fallback to toByteArray()

This is done because of differences in byte order with in ObjectId between 2.x and 3.x versions