Enable backtrace(3) in NetBSD >=7.0

This patch was prepared with the assistance of the upstream.