secur32: Avoid size_t and fix some printf formats.