[XLA:GPU] Preserve metadata when removing degenerate reduce dims.
[XLA:GPU] Preserve metadata when removing degenerate reduce dims.

When removing degenerate (equals to 1) dimensions, bitcast op inherits the metadata (through ReplaceWithNewInstruction()), but not the new reduce instruction. Explicitly copy the metadata to the new reduce instruction.
