[yang] ensure that nif was loaded

Summary: ensure that nif was loaded

Test Plan: read change

Reviewers: aschultz, druss, hsychla

Reviewed By: druss

CC: mkraemer, druss, aschultz

Differential Revision: https://review.tpip.net/D1259