cpu: handle all PSR flags correctly.

Make sure that all bits are correctly set in the PSR and saved PSR.