routing: add public rt_is_exportable() version to check if
the route can be exported to userland when jailed.
Differential Revision: https://reviews.freebsd.org/D39204
MFC after: 2 weeks
(cherry picked from commit 2cda6a2fb0d9473a53931dc2b0171af54dd79b04)