Lithgow inmate sentenced to jail for drug possession