Do not use deprecated JNA API

Target platform contains JNA 5.8.0 so set it as required version and
adjust the code.

Change-Id: Ie1de5409673a5d5cc8e4beb7c3c6a0403421ce38
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.bundles/+/179522
Tested-by: Equinox Bot <equinox-bot@eclipse.org>
2 files changed