Perth drug driver who killed friend jailed