glsl: Add utility function to round and pack int64_t value