Sets default safe_format_and_mount fs of EL 7 to xfs.

safe_format_and_mount now uses xfs tools by default on EL 7 systems
'discard' seems to be an ext4-specific mount option. What happens in this case on xfs? Would it be more correct to put this in an else part of the if block?