[XLA:Python] Restore support for string inputs to mhlo_to_stablehlo.
[XLA:Python] Restore support for string inputs to mhlo_to_stablehlo.

The previous change made this function accept only bytes (bytecode). Allow textual MLIR as well.
