sh: Minor optimisations to FPU handling