transform: improve level handling

remove custom leveld case and integrated level adjustments of transform with
the two pre-existing affine / generic code paths.
panorama-projection: make mipmap aware