fix %lu to PRIu32 to match uint32 type

now that uint32 is the correct type, fix the printf format codes to match. (requires C99 support)