Retiring Labor MP Stephen Jones has used a farewell speech to parliament to talk about the "painful experience" of the royal commission into child sex abuse.