[FEATURE] Port new memory layer plugin to core
Correctly set band number for pseudocolor renderer widget

Previously the band was always reset to the first band when opening
the raster layer properties.