mir: fix compilation in mirscreen
mir: handle more surface types