Leeds United have confirmed the sale of young defender Jeremiah Mullen to Scottish Championship club Dunfermline Athletic.