Add getFieldOrder() methods.

Add getFieldOrder() methods to classes which extend com.sun.jna.Structure,
for compatibility with newer versions of JNA.  [JENKINS-24521]
Merge pull request #1410 from rodrigc/JENKINS-24521

Add getFieldOrder() methods.