Use host-specified loop count

Demonstrate reading a value written to PRU RAM by the host by setting the loop
count to a value specified by the ARM processor.