Fix #11455 take two (raster crashes)

Thanks to Nyall for pointing this out
Fix QgsRasterInterface bindings again (fixes PyQgsRasterFileWriter test)