anv: Make entrypoint resolution take a gen_device_info