read_csr() returns an unsigned long, not a uint32_t. This causes a -Wformat warning to be emitted when compiling with clang. This commit fixes the warning by changing the format string.