En tidligere ansatt ved St. Olavs hospital er dømt til fengsel i over ett år for å ha oppbevart amfetaminet til en pasient.