Implement boundary and maximum segment size handling in bus_dmamap_load().