sh: Generalise the pte handling code for the fixmap path