NSW prison murderer jailed for 30 years