Rewrite PRU library with integer pointers

Since the AM335x MMIO space is always written to in 32-bit words, this
looks much nicer if we just use integer pointers for everything.