Declare global variables in libxdma as static

This ensures that the variables are only "seen" in the file they're
declared in.