A former NSW Police officer accused of sharing restricted information for free cocaine is found guilty of misconduct.