agp: use iterators to speed up lookups
agp_generic_bind_memory and agp_generic_unbind_memory do pctrie
lookups for ranges of consecutive pages. Use iterators to improved the
expected performance of those searches.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D49917