src/sys.c: Add function to obtain native type alignment information

This handles all the libLLVM machinery outside of the Julia context.
Merge pull request #2454 from pao/topic/alignment-info

RFC: Add function to obtain native type alignment information