cmake: add the macros for FILE_OFFSET_BITS

On some systems, the offset can be 64-bit and so
add the macro tests to check and configure that as
part of the build configuration.

Signed-off-by: Charles Hardin <ckhardin@gmail.com>