Expose NIF version

This patch allows checking for NIF API version in a way similar to
driver version. E.g. by calling erlang:system_info(nif_version).

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Section reference number incorrect
Merge branch 'jmrepetti/maint' into maint

* jmrepetti/maint:
  Section reference number incorrect
Merge branch 'lemenkov/expose_nif_version' into maint

OTP-12298

* lemenkov/expose_nif_version:
  Expose NIF version